/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.single;

/**
 * 懒汉式
 * @author xiay
 * @since 2020/12/3 9:53 下午
 */
public class LazyManModel {

    private static LazyManModel INSTANCE = null;

    private LazyManModel() {

    }

    public static synchronized LazyManModel getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new LazyManModel();
        }
        return INSTANCE;
    }
}
